package dp.mobile.sbm;

import android.os.Bundle;

public class DBActivity extends TabActivity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		
		//Set layout based on family
		switch (mFamily) {
		case TabActivity.HOME_FAMILY:
			setContentView(R.layout.database_home);
			break;
		case TabActivity.NEWS_FAMILY:
			setContentView(R.layout.database_home);
			break;
		}		
		
		//Set click listeners
		setTabListener();
		findViewById(R.id.home_tab3).setEnabled(false);
	}
}
